#ifndef __LSDFAULT_H__
#define __LSDFAULT_H__

#include "LsdEvent.h"
#include "main.h"
#define FAULT_BASETIME  10   // 100ms

//UV等类
#define UV_3SEC_CNT  				(3	*FAULT_BASETIME)  
#define HEAT_10MIN_CNT 			(600*FAULT_BASETIME)
#if (QIANG_YING_DEVICE == 1)
#define COOL_15MIN_CNT 			(900*FAULT_BASETIME)
#else
#define COOL_15MIN_CNT 			(1800*FAULT_BASETIME)//俄罗斯机冷罐比较高30min
#endif
#define COOL_30MIN_CNT 			(1800*FAULT_BASETIME)

#define FAULT_3SEC_CNT 			(3*FAULT_BASETIME)
#define FAULT_10SEC_CNT 			(10*FAULT_BASETIME)
#define FAULT_30SEC_CNT 			(30*FAULT_BASETIME)

#define SCRREN_ERR_30S_CNT	(30*FAULT_BASETIME)
#define SALVE_ERR_30S_CNT		(30*FAULT_BASETIME)

#define HEAT_REPLEN_WATER_10min_CNT (600*FAULT_BASETIME)

//typedef enum
//{
//	ACTION_OUT_WATER_HEAT_ON=0,// 热水
//	ACTION_OUT_WATER_NOR_ON,// 常温开
//	ACTION_OUT_WATER_COOL_ON,// 冷水开
//	
//	
//	ACTION_OUT_WATER_HEAT_OFF,// 热水关
//	ACTION_OUT_WATER_NOR_OFF,// 常温水关
//	ACTION_OUT_WATER_COOL_OFF,// 冷水关
//	
//	ACTION_CLEAN_PIPE_ING,	//管路清洗中
//	ACTION_CLEAN_PIPE_END,	//管路清洗结束

//	ACTION_OUT_WATER_MAX,      
//}teOutWaterDef;


extern void OnTaskFaultCallBack(TypeEventFunPara *para);  //1s



#endif
